Skip to content

Conversation

@rodom1018
Copy link
Contributor

운영중에 실행시간이 늦은 api 의 경우 어느 메서드에서 시간이 많이 걸리는지 추적하기 위한 커스텀 어노테이션을 제작했습니다.
다음과 같이 어노테이션을 붙이면 자동으로 시간을 측정해 줍니다.
대략적인 원인 파악 및 검증에는 쓸만 할 거 같네요 ...

image image

참고) aop가 프록시 기반으로 구축이 되어 있어 @service, @component, @controller 와 같이 스프링 빈(bean) 으로 등록된 것만 추적이 가능합니다.
image

Copy link
Contributor

@seop-h seop-h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋은 기능이네요 고생하셨습니다! 👍

@rodom1018 rodom1018 merged commit f271ba2 into develop Jan 14, 2025
1 check passed
@rodom1018 rodom1018 deleted the feature-aop branch January 14, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants